typedef struct STUDENT {
    long stuID;
    char stuName[10];
    char stuSex;
    int birthYear;
    int mathScore;
    int englishScore;
    int computerScore;
    int programScore;
} STUDENT;

#include <stdio.h>

int main() {

    STUDENT stu1, stu2;
    printf("请输入学生信息：\n");
    printf("学号：");
    scanf("%ld", &stu1.stuID);
//    printf("姓名：");
//    scanf("%s", stu1.stuName);
//    printf("性别：");
//    scanf("%c", &stu1.stuSex);
//    printf("出生年份：");
//    scanf("%d", &stu1.birthYear);
//    printf("数学成绩：");
//    scanf("%d", &stu1.mathScore);
//    printf("英语成绩：");
//    scanf("%d", &stu1.englishScore);
//    printf("计算机成绩：");
//    scanf("%d", &stu1.computerScore);
//    printf("程序设计成绩：");
//    scanf("%d", &stu1.programScore);

    printf("学号地址：%p\n", &stu1.stuID);
    printf("姓名地址：%p\n", &stu1.stuName);
    printf("性别地址：%p\n", &stu1.stuSex);
    printf("出生年份地址：%p\n", &stu1.birthYear);
    printf("数学成绩地址：%p\n", &stu1.mathScore);

    printf("stu1地址 %p\n", &stu1);

    stu2 = stu1;
    printf("stu2地址 %p\n", &stu2);
}